<?php
//Compiled by TIBlog Template Engine v2.0 , Created on : 2011-04-13 10:55:37
defined('IN_DTE') or exit('Access Denied');
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>Administrator's Control Panel</TITLE>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<LINK href="/static/admin/style.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.2900.3157" name=GENERATOR></HEAD>
<script type="text/javascript" src="/static/js/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$("#search").toggle(function(){
		$("#searchBox").show('fast');
	},function(){
		$("#searchBox").hide('fast');
	});
});
</script>
<BODY id=main>
<h2>注册会员列表&nbsp;<span id="search" style="color:red">高级查找&raquo;</span></h2>
<div style="display:none" id="searchBox">
	<form method="post" name="listform" action="" enctype="multipart/form-data">
	<table cellspacing="0" cellpadding="0" width="100%"  class="toptable">
	<tr><td> 
		<input type="input" name="keyword" class="text" value="">
		<select id="sc" name="sc">
			<option value="ASC">升序</option>
			<option value="DESC" selected>降序</option>
		</select>
		<input type="submit" class="button" value="搜索">
	</td>
	</tr>
	</table>
	</form>
</div>
<TABLE class=listtable cellSpacing=0 cellPadding=0 width="100%">
  <TBODY>
  <TR>
    <TH align=left>用户名</TH>
	<TH width=50>影评数</TH>
	<TH width=50>短评数</TH>
	<TH width=50>图片数</TH>
	<TH width=120>邮件地址</TH>
	<TH width=120>注册时间</TH>
	<TH width=120>最后登陆</TH>	
    <TH width=70>操作</TH></TR>
<?php
if (!empty($_obj['list'])){
if (!is_array($_obj['list']))
$_obj['list']=array(array('list'=>$_obj['list']));
$_tmp_arr_keys=array_keys($_obj['list']);
if ($_tmp_arr_keys[0]!='0')
$_obj['list']=array(0=>$_obj['list']);
$_stack[$_stack_cnt++]=$_obj;
foreach ($_obj['list'] as $rowcnt=>$list) {
$list['ROWCNT']=$rowcnt;
$list['ALTROW']=$rowcnt%2;
$list['ROWBIT']=$rowcnt%2;
$_obj=&$list;
?>
  <TR class=darkrow>
    <TD ><A style="FONT-SIZE: 14px" href="/admin/member/edit/<?php
echo $_obj['uid'];
?>
" target="_blank"><?php
echo $_obj['username'];
?>
</A></TD>
	<TD align=middle><?php
echo $_obj['review_num'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['comment_num'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['photo_num'];
?>
</TD>
	<TD><?php
echo $_obj['email'];
?>
</TD>
	<TD><?php
echo $_obj['regtime'];
?>
</TD>
	<TD align=middle><?php
echo $_obj['lasttime'];
?>
</TD>	
	<TD><a href="/admin/member/edit/<?php
echo $_obj['uid'];
?>
">编辑</A> | <a href="/admin/member/del/<?php
echo $_obj['uid'];
?>
" onClick="return confirm('确定要删除此用户！！不可撤销！！');"  >删除</A>
	</TD></TR>
<?php
}
$_obj=$_stack[--$_stack_cnt];}
?>
</TBODY></TABLE>
<?php
echo $_obj['pageParam'];
?>

<br>
</BODY></HTML>
